.search-bar-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.search-filter-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.search-box-container {
  display: flex;
  align-items: center;
}

.search-box {
  flex: 1;
  max-width: 800px; /* 增大搜索框的最大宽度 */
}


.search-input {
  width: 100%;
  padding: 12px 300px 12px 20px; /* 右侧保留空间给取消按钮 */
  border: none;
  border-radius: 20px;
  background-color: #f5f5f5;
  font-size: 14px;
  position: relative; /* 添加相对定位 */
}


/* 高级搜索按钮样式 */
.search-pink-button {
  background: linear-gradient(45deg, #ff4da6, #ff2a4a); /* 渐变背景 */
  color: white;
  border: none;
  border-radius: 20px; /* 圆角 */
  padding: 10px 25px; /* 内边距 */
  font-size: 14px;
  cursor: pointer;
  margin-left: 15px; /* 搜索按钮和搜索框之间的固定距离 */
  display: flex;
  align-items: center;
  transition: all 0.3s ease; /* 添加过渡效果 */
  box-shadow: 0 2px 10px rgba(255, 77, 166, 0.3); /* 添加阴影 */
}

.search-text {
  margin-right: 8px;
}

.search-icon {
  font-size: 16px;
}

/* 悬停效果 */
.search-pink-button:hover {
  box-shadow: 0 4px 15px rgba(255, 77, 166, 0.5); /* 更强的阴影 */
  transform: translateY(-2px); /* 微微上浮 */
}

/* 点击效果 */
.search-pink-button:active {
  box-shadow: 0 1px 5px rgba(255, 77, 166, 0.3); /* 更弱的阴影 */
  transform: translateY(1px); /* 微微下沉 */
}

.filter-tabs {
  display: flex;
  background-color: #fff;
  border-radius: 20px;
  padding: 6px 12px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.filter-tab {
  padding: 6px 20px;
  margin: 0 4px;
  border-radius: 18px;
  font-size: 14px;
  cursor: pointer;
  color: #666;
}

.filter-tab.active {
  background-color: #ff2a4a;
  color: white;
}

.sub-filter-tabs {
  display: flex;
  overflow-x: auto;
  padding: 8px 0;
  background-color: #fff;
  border-radius: 10px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(210, 122, 122, 0.05);
}

.sub-filter-tabs::-webkit-scrollbar {
  display: none;
}

.sub-filter-tab {
  padding: 6px 16px;
  margin: 0 6px;
  border-radius: 18px;
  font-size: 14px;
  cursor: pointer;
  color: #666;
  white-space: nowrap;
}

.sub-filter-tab.active {
  background-color: #ff2a4a;
  color: white;
}